<%@ page contentType="text/html;charset=utf-8"  language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<jsp:include page="../header.jsp" />

<jsp:include page="../navbar.jsp" />

<div class="container-fluid container-margin-top">
	<div class="row">
		<div class="col-lg-2 col-sm-3">
			<jsp:include page="sidebar.jsp" />
		</div>
		<div class="col-lg-10 col-sm-9">
			<c:choose>
				<c:when test="${postResult == true}">
					<div class="dialog dialog-success"><strong>修改成功</strong></div>
				</c:when>
				<c:when test="${postResult == false}">
					<div class="dialog dialog-danger"><strong>修改失败</strong></div>
				</c:when>
			</c:choose>
			<div class="dialog dialog-info">
				<form role="form" action="<c:url value="/admin/board.do"/>" method="post">
					<h4>公告板</h4>
					<div class="row">
						<div class="col-sm-12">
							<textarea rows="3" name="board_text" placeholder="请输入公告板信息" class="form-control"><%=request.getAttribute("board_text")%></textarea>
						</div>
						<div class="col-sm-4 col-sm-offset-4">
							<br>
							<button type="submit" class="btn btn-primary btn-block">提交</button>
						</div>
					</div>
				</form>
			</div>
						
		</div>
	</div>
</div>
<script>
	document.title = "系统信息-公告板";
</script>

<jsp:include page="../footer.jsp" />
